<div class="pagination-div">
	<input type="hidden" id="_id_pageNum" name="pageNum" value="${pagination.pageNum}"/>
	<input type="hidden" id="_id_pageSize" name="pageSize" value="${pagination.pageSize}"/>
	<a href="javascript:void(0);" <#if pagination.firstPage> disabled="disabled" class="disable-a" <#else> onclick="_queryPage('1')" </#if> >首 页</a> 
	<a href="javascript:void(0);" <#if pagination.firstPage> disabled="disabled" class="disable-a" <#else> onclick="_queryPage('${pagination.pageNum - 1}');" </#if> >上一页</a> 
	<#if pagination.totalPageCount==0>
	<span>第 0/0 页</span>
	<#else>
	<span>第 ${pagination.pageNum!}/${pagination.totalPageCount!} 页</span>
	</#if>
	<a href="javascript:void(0);" <#if pagination.lastPage> disabled="disabled" class="disable-a" <#else> onclick="_queryPage('${pagination.pageNum + 1}');" </#if> >下一页</a> 
	<a href="javascript:void(0);" <#if pagination.lastPage> disabled="disabled" class="disable-a" <#else> onclick="_queryPage('${pagination.totalPageCount}');" </#if> >尾 页</a> 
	<span style="float:right;">共 ${pagination.totalItemsCount!} 条记录</span>
</div>

<script type="text/javascript">
	function _queryPage(pageNum){
		if(pageNum == undefined)pageNum = 1;
		document.getElementById('_id_pageNum').value = pageNum;
		document.getElementById('queryPageForm').submit();
	}
</script>
